home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 71 / MOBICLIC 71.ISO / mac / DATA / COMMUN / temp0001 / 00286_Script_BOUCLE_ATTENTE_FIN_SWF < prev    next >
Text File  |  2004-12-05  |  855b  |  36 lines

  1. global gL_FlagSWF
  2. ------------------
  3. on exitFrame me
  4.   case(gL_FlagSWF[1]) of
  5.     "SON":
  6.       if not(soundBusy(gL_FlagSWF[4])) then
  7.         niveauSon()
  8.         case(gL_FlagSWF[2]) of
  9.           "NEXTFRAME":
  10.             gL_FlagSWF = VOID
  11.             go the frame +1
  12.           "NEXTMARKER":
  13.             gL_FlagSWF = VOID
  14.             go marker(+1)
  15.         end case
  16.       else
  17.         go the frame
  18.       end if
  19.     "SWF":
  20.       if sprite(gL_FlagSWF[3]).frame = gL_FlagSWF[5] then
  21.         coupeson(gL_FlagSWF[4])
  22.         niveauSon()
  23.         case(gL_FlagSWF[2]) of
  24.           "NEXTFRAME":
  25.             gL_FlagSWF = VOID
  26.             go the frame +1
  27.           "NEXTMARKER":
  28.             gL_FlagSWF = VOID
  29.             go marker(+1)
  30.         end case
  31.       else
  32.         go the frame
  33.       end if
  34.   end case
  35. end
  36. -----------------------